#include "stdafx.h"
#include "CppUnitTest.h"

#include <memory>


#include <gl/Glew.h>

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

namespace UnitTests
{
	TEST_CLASS(Glew_FirstSuite)
	{
	public:
		
		TEST_METHOD(Test_glewInit)
		{
      std::unique_ptr<GLEWContext> glctx(new GLEWContext);
      auto glewGetContext = [&] () { return glctx.get(); };
			GLenum err = glewInit();
      Assert::AreEqual(err, (GLenum)GLEW_OK);
		}

	};
}